package com.example.springapplicationdemo.exceptionhandler.exception;

import com.example.springapplicationdemo.exception.BusinessException;

/**
 * BusinessException子类，用户模块，顶级业务异常
 */
public abstract class UserException extends BusinessException {
    protected static final int BASE_ERROR_CODE = - 10000;

    protected UserException(int code, String msg) {
        super(code, msg);
    }

    protected UserException(int code, String msg, Exception e) {
        super(code, msg, e);
    }
}
